#ifndef __CARIOU_LINARD_FILM_HH__
#define __CARIOU_LINARD_FILM_HH__

#include <string>
#include <fstream>
#include <iostream>

class Film  //valid
{
    protected:

        double * data;
        unsigned int width;
        unsigned int height;
        unsigned int ppp;

    public:

        Film();
        virtual ~Film();
        Film(const Film &);
        virtual Film& operator=(const Film &);

        Film(unsigned int, unsigned int, unsigned int=1);

        virtual void initFilm();
        virtual void save(const std::string &) const;

        virtual unsigned int getWidth()  const;
        virtual unsigned int getHeight() const;
        virtual double *     getData()   const;

};

#endif
